package com.igeekhome.mapper;

import com.igeekhome.dto.OrderNumberListDto;
import com.igeekhome.pojo.DOrderNumberList;
import com.igeekhome.pojo.DOrderNumberListExample;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DOrderNumberListMapper {
    int countByExample(DOrderNumberListExample example);

    int deleteByExample(DOrderNumberListExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DOrderNumberList record);

    int insertSelective(DOrderNumberList record);

    List<DOrderNumberList> selectByExample(DOrderNumberListExample example);

    DOrderNumberList selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DOrderNumberList record, @Param("example") DOrderNumberListExample example);

    int updateByExample(@Param("record") DOrderNumberList record, @Param("example") DOrderNumberListExample example);

    int updateByPrimaryKeySelective(DOrderNumberList record);

    int updateByPrimaryKey(DOrderNumberList record);

    List<OrderNumberListDto> listOrderNumberListDto(@Param("orderNumberList") DOrderNumberList orderNumberList,@Param("date1") String date1,@Param("date2") String date2);

    int deleteByIdStr(String idsStr);

}